home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / doc / esound-common / README.Debian < prev    next >
Text File  |  2008-09-05  |  3KB  |  59 lines

  1. esound for Debian
  2. -----------------
  3.  
  4. When using the -tcp option
  5. --------------------------
  6.  
  7. Q: I get the error message "unable to bind port 16001"
  8.  
  9. A:    1. esd is already running, bound to port 16001.
  10.     2. TCP/IP networking is not configured.  You need at least the lo
  11.        interface configured for esound to work.
  12.        To configure the interface, try ifup lo
  13.        If that does not work, try ifconfig lo 127.0.0.1
  14.  
  15. Q: Applications saying they can't connect to esd?
  16.  
  17. A:    1. Ensure that esd is running, or is set to autospawn.  You can
  18.        set it back to autospawn by editing /etc/esound/esd.conf
  19.     2. Ensure that TCP wrappers allow the connection.  If a default is
  20.        specified to deny all traffic, ESD will be denied.
  21.     3. If you are trying to do remote esd, make sure -public is specified
  22.        when starting ESD on the server end (the one with sound hardware)
  23.        and that TCP wrappers will allow the remote connection.
  24.  
  25. Q: Why does esound not default to autospawn?
  26.  
  27. A: esound used to default to autospawning, which means that programs
  28. would try to start the esd daemon if it wasn't running.  The problem
  29. is, if you don't have sound hardware correctly setup, esd would take a
  30. long time to try opening the sound device(s) at all possible supported
  31. rates, and people would think that the Gnome desktop had "hung" for
  32. two minutes.
  33.  
  34. Q: Why don't you make it configurable, like it used to be?
  35.  
  36. A: esd.conf is a conffile, and you can edit it if you want the default to be
  37. autospawning.  I've set up the default to work with Gnome and esound, the
  38. main two users of libesd.  As esd.conf is a conffile, it can't be edited
  39. by maintainer scripts, including debconf.  The question is also a very
  40. confusing one for new users, so I think it is much better if the default
  41. works with the users of libesd, and experts can edit the conffile to turn
  42. on autospawning if they like.
  43.  
  44. Q: Esound should be a daemon, that's what the D is for in esd, right?
  45.  
  46. A: Esound was designed mainly to be used as a "daemon" that is started on each
  47. login session, and ended when the user logs off, much like the other gnome
  48. bits (gconf, oaf, etc).  While it can be used as a system daemon and stay
  49. running all the time, it does open some security issues for a multi-user
  50. system.  The default of upstream and this packaging is for a multi-user system
  51. with users allowed to use audio in the audio group.
  52.  
  53. Q: esddsp hangs when I use it with <blah> application!
  54.  
  55. A: esddsp is a set of wrappers around libc functions, including open, fopen,
  56. close, and fclose.  These wrappers are NOT thread safe, so when using them
  57. with a threaded program, you often end up with the application hanging.
  58. This hasn't been fixed yet. (patches welcome)
  59.